package com.example.basemvp.util;

/**
 * Created by yinna on 2016/3/4.
 */
public class Screen {

    private int mHeight = 0;
    private int mWeight = 0;
    private String mName = null;
    private static volatile Screen sSingleton = null;

    private Screen() {
    }

    public static Screen getInstance() {
        if (sSingleton == null) {
            synchronized (Screen.class) {
                if (sSingleton == null) {
                    sSingleton = new Screen();
                }
            }
        }
        return sSingleton;
    }

    public int getHeight() {
        return mHeight;
    }

    public void setmHeight(int mHeight) {
        this.mHeight = mHeight;
    }
}
